<?php namespace Home\Controller;
use Hdphp\Controller\Controller;
class ListController extends Controller{
	
	
	public function index(){
		$gdata=new \Common\Model\Goods;
		$gdata=$gdata->get();
//		p($gdata);
		View::with('gdata',$gdata);
		$cdata=new \Common\Model\Cate;
		$cdata=$cdata->get();
//		p($cdata);die;
		View::with('cdata',$cdata);
		
		
		View::make();
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
?>